//增加房间
function addNewRoom(){
	
}



//生成配布


//做布帘

//做纱帘
//生成主布
function makeZhuBu(){
	var rootDiv=$('<div></div>');
	
	
	
}

//布帘和纱的制作信息
function makeInformation(){
	var rootDiv=$('<div></div>');
	var fromDiv=makeFromDiv();
	fromDiv.append(makeLable("成品尺寸:"));
	fromDiv.append(makeInput("成品尺寸","name"));
	
	
	rootDiv.append('<h3>制作信息:</h3>');
	
	return rootDiv;
}
//做fromDiv 
function makeFromDiv(){
	var formDiv =$('<div class="form-group"></div>');
	return formDiv;
}
//做lable
function makeLable(textContent){
	return $('<label class="col-sm-2 control-label">'+textContent+'</label>');
}
//input
function makeInput(placeholder,name){
	var div=$('<div class="col-md-4"></div>');
	var input=$('<input type="text" placeholder="'+placeholder+'" class="form-control" name="'+name+'">');
	div.append(input);
	return div;
}
//做rootRadioDiv
function makeRootRadioDiv(id){
	return $('<div id="'+id+'" style="position: relative; margin-left: 259px;">');
}
//做sunRadioDiv
function makeSunRadioDiv(name,value,textContent){
	var div=$('<div class="radio"></div>');
	var lab=$('<lable></lable>');
	lab.append('<input type="radio" name="'+name+'" value="'+value+'">'+textContent);
	div.append(lab);
	return div;
}














